<html>
<head>
<meta charset="UTF-8">
<title>数据运维日志详情</title>
	<link  id="easyuiTheme" href="../../static/easyui/themes/bootstrap/easyui.css" rel="stylesheet" type="text/css"/>
	<link href="../../static/easyui/themes/icon.css" rel="stylesheet" type="text/css"/>
	<link href="../../static/css/esaas-easyui-view.css" rel="stylesheet" type="text/css"/>
	<script src="../../static/easyui/jquery.min.js" type="text/javascript"></script>
	<script src="../../static/easyui/jquery.cookie.js" type="text/javascript"></script>
	<script src="../../static/easyui/ui-theme.js" type="text/javascript"></script>
	<script src="../../static/easyui/jquery.easyui.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../static/easyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
	<script src="../../static/plugin/assets/jslib.util.js" type="text/javascript"></script>
	<script src="../../static/plugin/assets/jslib.jquery.ajax.js" type="text/javascript"></script>
	<script src="../../static/plugin/assets/jslib.easyui.util.js" type="text/javascript"></script>
	<script src="../../ffres/dict/all.js" type="text/javascript"></script>
	<a href="" target="_blank" id="commonLink" name="commonLink"></a>
</head>
<body class="easyui-layout">

	    <form id="ff" method="post">
	    	<div class="esaas-info-title">数据运维日志信息</div>
	    	<table class="esaas-info-view-table">
			<tr>
				<td width="15%" align="right">数据记录标识：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="recordKeyid" data-options="required:true"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">数据运维语句：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="dboSqlContent" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">数据运维执行结果：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="dboResult" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">数据运维影响记录数：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="dboAffectedNum" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">数据运维错误信息：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="dboErrMsg" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">交易开始时间：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="startTime" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">交易结束时间：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="endTime" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">执行时长（秒）：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="costTime" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">操作人：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="operUserid" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">数据源代码：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="dsCode" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">数据运维备注：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="dboRemarks" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
	    	</table>
	    </form>
	    <div style="text-align:center;padding:15px">
			<a href="javascript:void(0)" class="easyui-linkbutton" onclick="closeForm()">&nbsp;关&nbsp;闭&nbsp;</a>
	    </div>
	</div>
	<script>	
		$(function() {
			var recordKeyid = $.getUrlParam('recordKeyid');
			$.restfulGet('../../api/dbo/sql/log/' + recordKeyid,null,function(data){
					$('#ff').form('load', {
						recordKeyid : data.rows.recordKeyid,
						dboSqlContent : data.rows.dboSqlContent,
						dboResult : data.rows.dboResult,
						dboAffectedNum : data.rows.dboAffectedNum,
						dboErrMsg : data.rows.dboErrMsg,
						startTime : data.rows.startTime,
						endTime : data.rows.endTime,
						costTime : data.rows.costTime,
						operUserid : data.rows.operUserid,
						dsCode : data.rows.dsCode,
						dboRemarks : data.rows.dboRemarks
					});					
			});
		});
		function closeForm(){
			window.parent.JLEUtil.closewin();
		}
	</script>
</body>
</html>
